package com.hxz.pojo;

import org.springframework.beans.factory.annotation.Autowired;

public class Dog {
    @Autowired
    private Cat cat;
    public Dog(){
        System.out.println("Dog构造方法调用");
    }
    public void shut() {
        System.out.println("wang!");
    }
}
